home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_ImageMagick.idb / usr / freeware / include / magick / PreRvIcccm.h.z / PreRvIcccm.h
Encoding:
C/C++ Source or Header  |  1999-01-26  |  1.9 KB  |  99 lines

  1. #if defined(PRE_R6_ICCCM)
  2. /*
  3.   Compatability defines for pre X11R6 ICCCM.
  4. */
  5. #define XK_KP_Home              0xFF95
  6. #define XK_KP_Left              0xFF96
  7. #define XK_KP_Up                0xFF97
  8. #define XK_KP_Right             0xFF98
  9. #define XK_KP_Down              0xFF99
  10. #define XK_KP_Prior             0xFF9A
  11. #define XK_KP_Page_Up           0xFF9A
  12. #define XK_KP_Next              0xFF9B
  13. #define XK_KP_Page_Down         0xFF9B
  14. #define XK_KP_End               0xFF9C
  15. #define XK_KP_Delete            0xFF9F
  16.  
  17. extern Export Status
  18.   XInitImage(XImage *ximage);
  19. #endif
  20.  
  21. #if defined(PRE_R5_ICCCM)
  22. /*
  23.   Compatability defines for pre X11R5 ICCCM.
  24. */
  25. extern Export XrmDatabase
  26.   XrmGetDatabase();
  27. #endif
  28.  
  29. #if defined(PRE_R4_ICCCM)
  30. /*
  31.   Compatability defines for pre X11R4 ICCCM.
  32. */
  33. #if defined(vms)
  34. #define XMaxRequestSize(display)  16384
  35. #endif
  36.  
  37. #define WithdrawnState  0
  38. #define XInductColormap(display,colormap)  XInstallColormap(display,colormap)
  39. #define XUninductColormap(display,colormap)  XUninstallColormap(display,colormap)
  40.  
  41. typedef struct _XTextProperty
  42. {
  43.   unsigned char
  44.     *value;
  45.  
  46.   Atom
  47.     encoding;
  48.  
  49.   int
  50.     format;
  51.  
  52.   unsigned long
  53.     nitems;
  54. } XTextProperty;
  55.  
  56. /*
  57.   Pre R4 ICCCM compatibility routines.
  58. */
  59. char
  60.   *XResourceManagerString();
  61.  
  62. extern Export int
  63.   XWMGeometry();
  64.  
  65. extern Export Status
  66.   XGetRGBColormaps(),
  67.   XGetWMName(),
  68.   XReconfigureWMWindow(),
  69.   XSetWMProtocols(),
  70.   XWithdrawWindow();
  71.  
  72. extern Export XClassHint
  73.   *XAllocClassHint();
  74.  
  75. extern Export XIconSize
  76.   *XAllocIconSize();
  77.  
  78. extern Export XSizeHints
  79.   *XAllocSizeHints();
  80.  
  81. extern Export XStandardColormap
  82.   *XAllocStandardColormap();
  83.  
  84. extern Export XWMHints
  85.   *XAllocWMHints();
  86.  
  87. extern Export VisualID
  88.   XVisualIDFromVisual();
  89.  
  90. extern Export void
  91.   XrmDestroyDatabase(),
  92.   XSetWMIconName(),
  93.   XSetWMName(),
  94.   XSetWMProperties();
  95. #else
  96. #define XInductColormap(display,colormap)
  97. #define XUninductColormap(display,colormap)
  98. #endif
  99.